Check if a String is a palindrome with JavaScript Tutorial